Resursbank\Woocommerce\Settings\PartPayment A

Total Complexity 55
Dependencies 26
Dependents 3
Total lines 484
Lines of code 276
Logical lines of code 98
Comment lines 123
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
handleLimitUpdate()
A
44 8 46
validateLimit()
S
56 6 20
validateStoreAndMethod()
S
53 5 25
handleStoreIdUpdate()
S
50 4 33
canSwitchMinValueByCountry()
S
55 4 23
isValidPaymentOrStoreIdOption()
S
62 4 12
canValidateOptionChange()
S
70 4 6
updateLongestPeriodWithZeroInterest()
S
63 4 10
sanitizeResursPartPaymentValues()
S
61 3 14
updateThresholdLimit()
S
70 2 6
isValidPeriodOption()
S
77 2 3
isValidUuid()
S
67 2 8
init()
S
62 1 14
getPaymentMethodSetting()
S
62 1 12
getPeriodSetting()
S
62 1 12
getTitle()
S
79 1 3
getEnabledSetting()
S
64 1 10
getSettings()
S
65 1 10
getLimitSetting()
S
65 1 9